package com.hyz.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import pojo.asset.asset.Asset;

import java.util.List;

/**
 * @author HGD
 * @date 2022/10/2 17:15
 */
@FeignClient("asset")
public interface AssetClient {
    /**
     * 根据资产状态获取资产列表
     *
     * @param status 资产状态
     * @return 资产列表
     */
    @PostMapping("/asset/selectAssetByStatus")
    List<Asset> selectAssetByStatus(@RequestBody Long status);
}
